<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of template
 *
 * @author Montana
 */
class Tests extends CI_Model{

    function  __construct() {
        parent::__construct();
        $this->load->view('template/header');
    }

    public function getActiveTests(){
        $this->db->where('is_active', 1);
        $result = $this->db->get('tests_name');

        return $result->result();
    }

}
?>
